<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> Electronic Submission Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(Images/lines.gif);
}
-->
</style>
<link href="css/style1.css" rel="stylesheet" type="text/css">
<link href="css/bottomtext.css" rel="stylesheet" type="text/css">
<script language="javascript" type="text/javascript">

function FormRedirect()
{
 if (document.frmLogin.txtUsername.value == 'convener' & document.frmLogin.txtPassword.value == 'convener')
  document.frmLogin.action = 'Convener/default.htm';
 else if (document.frmLogin.txtUsername.value == 'grader' & document.frmLogin.txtPassword.value == 'grader')
  document.frmLogin.action = 'Grader/default.htm';
 else if (document.frmLogin.txtUsername.value == '5720397' & document.frmLogin.txtPassword.value == '310782')
  document.frmLogin.action = 'Student/default.htm';
 else
 {
  alert("Please enter valid username and password");
  document.frmLogin.txtUsername.focus();
 }
}

function Set_Focus()
{
 document.frmLogin.txtUsername.focus();
}

</script>
</head>

<body onLoad="Set_Focus()">
<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="1000"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
      <tr>
        <td height="20" align="right" valign="middle" class="graybg">&nbsp;</td>
      </tr>
      <tr>
        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            
            <td width="54%" align="left" valign="bottom" class="heading"><h2>UniLearn - Electronic Submission System</h2> </td>
            <td width="25%"><img src="Images/logo_swinburne.gif" width="228" height="114"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="20" align="right" valign="middle" class="graybg">&nbsp; </td>
      </tr>
      <tr>
        <td><table width="100%" height="360"  border="1" cellpadding="4" cellspacing="3" bordercolor="#999999">
          <tr>
            <td width="16%" rowspan="2" align="center" valign="top">
			<table width="99%"  border="1" align="center" cellpadding="3" cellspacing="2" bordercolor="#999999">
              <tr>
                <td width="2" height="20" align="left" valign="middle" class="redline">&nbsp;</td>
                <td width="117" align="left" valign="middle" class="graybg"><a href="login.htm">Login</a></td>
              </tr>
              <tr>
                <td height="20" align="left" valign="middle" class="redline">&nbsp;</td>
                <td height="20" align="left" valign="middle" class="graybg"><a href="recoverpass.htm">Recover Password </a></td>
              </tr>
            </table>			</td>
            <td width="84%" height="20" align="left" valign="middle" class="bottomtext">&nbsp; You are here : <a href="default.htm">Home</a> &gt; Login </td>
          </tr>
          <tr>
            <td height="348" align="left" valign="top"><table width="100%"  border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td class="heading">Login</td>
              </tr>
              <tr>
                <td class="darwin">
				<form method="post" name="frmLogin" onSubmit="FormRedirect()">
				<table width="50%"  border="0" cellpadding="0" cellspacing="5">
                  <tr>
                    <td align="right" valign="middle">Username</td>
                    <td align="left" valign="middle">
                      <input name="txtUsername" type="text" class="input" id="txtUsername"></td>
                  </tr>
                  <tr>
                    <td align="right" valign="middle">Password</td>
                    <td align="left" valign="middle"><input name="txtPassword" type="password" class="input" id="txtPassword"></td>
                  </tr>
                  <tr>
                    <td align="right" valign="middle">&nbsp;</td>
                    <td align="left" valign="middle"><input name="btnLogin" type="submit" class="button" id="btnLogin" value="Login"></td>
                  </tr>
                </table>
	                    </form>
				</td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="20" align="center" valign="middle" class="bottomtext"> All rights reserved. </td>
      </tr>
      <tr>
        <td height="20" class="graybg">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
